.big-bx {
  //overflow: auto;
  touch-action: none;
}


// 节点组件
.node {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;

  &-box {
    cursor: pointer;
    width: 220px;
    background: #fff;
    min-height: 72px;
    box-shadow: 0 1px 5px #0000001a;

    &-title {
      color: #fff;
      border-radius: 4px 4px 0 0;
      padding: 5px 10px;
      display: flex;
      justify-content: space-between;
    }

    .title-icon {
      display: none;
    }

    &-dec {
      color: #000;
      border-radius: 0 0 4px 4px;
      padding: 15px 10px;
      display: flex;
      justify-content: space-between;
    }
  }
}

.node-box:hover {
   //transform: scale(1.009);
   //transition: transform 0.4s ease;
   box-shadow: 0 2px 10px #0000001a;

  .title-icon {
    display: inline;
  }
}

// 添加图标
.add-btn-box {
  width: 220px;
  position: relative;

  .node-btn {
    display: flex;
    justify-content: center;
    padding: 20px 0 32px;
    z-index: 1;
  }
}

.add-btn-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  margin: auto;
  width: 1px;
  height: 100%;
  background-color: var(--process-line-color);
}


// 条件组件
.branch-wrap {
  position: relative;
  display: flex;
  width: 100%;
  background-color: var(--table-title-color);
}

.branch-wrap-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
}

.branch-box {
  display: flex;
  min-height: 270px;
  justify-content: center;
  align-content: center;
  position: relative;
  margin-top: 27px;
  border-top: 1px solid var(--process-line-color);
  border-bottom: 1px solid var(--process-line-color);

  &-add-button {
    position: absolute;
    //left: 50%;
    top: -27px;
    padding: 10px;
    border-radius: 20px;
    width: 90px;
    text-align: center;
    background-color: white;
    color: var(--process-btn-color);
    z-index: 2;
    cursor: pointer;
  }
}

// 单个条件组件
.condition-item-col {
  min-height: 300px;
  position: relative;
}

.condition-item-col::before {
  content: '';
  width: 1px;
  height: 100%;
  position: absolute;
  background: var(--process-line-color);
}

.condition-node {
  padding: 30px 60px 0 60px;

  &-box {
    cursor: pointer;
    width: 220px;
    background: #fff;
    min-height: 72px;
    position: relative;
    box-shadow: 0 1px 5px #0000001a;
    padding: 14px 19px;
    border-radius: 4px;
  }

  .title {
    display: flex;
    justify-content: space-between;
    align-content: center;

    &-left {
      display: inline;
      color: #67C23A;
    }

    &-right {
      display: none;
      color: #191f258f;
      font-size: 12px;
    }
  }
}


.condition-node-box:hover {
  box-shadow: 0 2px 10px #0000001a;
  .title-right {
    display: inline;
  }
}


.dec {
  margin-top: 15px;
}

.cover-line {
  background-color: var(--table-title-color);
  position: absolute;
  width: 50%;
  height: 10px;
}

.top-left-cover-line {
  top: -5px;
  left: -0.1%;
}

.bottom-left-cover-line {
  top: 99.6%;
  left: -0.1%;
}

.top-right-cover-line {
  top: -5px;
  left: 50.3%;
}

.bottom-right-cover-line {
  top: 99.6%;
  left: 50.3%;
}



// 添加条件
.condition {
  display: flex;
  justify-content: space-between;
  align-content: center;

  &-item {
    margin-right: 10px;
  }

  &-icon-box {
    width: 40px;
    height: 40px;
    border: 1px solid var(--boder-color);
    border-radius: 5px;
    margin-bottom: 10px;
    text-align: center;
  }

  &-icon:hover {
    background-color: var(--process-btn-color);
    color: white;
  }

  &-icon {
    width: inherit;
    height: inherit;
  }
}


.ellipsis-text {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  //text-overflow-ellipsis: v-bind(var(--boder-color));
}

.flex-method {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

// 流程结束
.end-node {
  &-circle {
    width: 20px;
    height: 20px;
    background-color: var(--boder-color);
    border-radius: 50%;
    margin: auto;
  }

  &-text {
    text-align: center;
  }
}